/* 修复input 背景不协调 和光标变色 */
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */

$bg: #283443;
$light_gray: #fff;
$cursor: #fff;

@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .login-container .el-input input {
    color: $cursor;
  }
}

/* reset element-ui css */
.login-container {
  display: flex;
  align-items: center;

  /**                                       NEW                                                    **/

  .left-box {
    width: calc(100vw - 900px);
    height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
    .img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .right-box {
    height: 100vh;
    width: 900px;
    // background: linear-gradient(138deg, #f6f9ff 0%, #eaf1fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    .icp {
      font-weight: 400;
      font-size: 20px;
      color: #000000;
      position: absolute;
      bottom: 28px;
      left: 50%;
      transform: translate(-50%, 0);
    }
    .square-box {
      width: 400px;
      height: 400px;
      border-radius: 80px;
      transform: rotate(40deg);
      background-color: rgb(200, 218, 252);
      position: absolute;
      right: -250px;
      top: 40px;
    }
    .logo {
      width: 300px;
      margin-bottom: 20px;
      display: flex;
      img {
        width: 150px;
      }
    }
    .navback {
      display: flex;
      align-items: center;
      left: 20px;
      top: 10px;
      color: #33383e;
      font-size: 14px;
      position: absolute;
      cursor: pointer;
    }
    .title {
      width: 330px;
      font-weight: 600;
      font-size: 32px;
      color: #000000;
      margin-bottom: 24px;
    }
    .loginForm {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      .el-input {
        width: 330px;
        ::v-deep .el-input__inner {
          height: 55px;
          background: #f8fafc;
          border-radius: 8px;
          border-color: rgba(0, 0, 0, 0);
        }
        .btn {
          background-color: #409eff;
          color: #fff;
          margin-left: -5px;
          height: 45px;
        }
      }
      ::v-deep .el-input-group__append {
        background-color: rgba(0, 0, 0, 0);
        border: none;
      }
      ::v-deep .el-input__inner {
        border-radius: 4px;
      }
    }
    .bottom {
      display: flex;
      align-items: center;
      width: 100%;
      justify-content: space-between;
      flex-direction: row-reverse;
      .reg {
        padding: 0;
        color: #2254f4;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        cursor: pointer;
      }
      .reg:hover {
        text-decoration: underline;
      }
    }
    .tips {
      font-size: 12px;
      margin-bottom: 10px;
      color: #7f8792;
      font-style: normal;
      font-weight: 400;
      line-height: 20px;
      width: 330px;
      text-align: right;
      span {
        font-weight: 400;
        font-size: 14px;
        color: #3b75ff;
        cursor: pointer;
      }
    }
  }
}

$bg: #2d3a4b;
$dark_gray: #889aa4;
$light_gray: #eee;
